﻿//源代码编码必须是: UTF-8(BOM)
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    ~Widget();

    //重写定时器的时间
    void timeEvent(QTimerEvent *);

    int id1; //定时器1的唯一标识符
    int id2; //定时器2的唯一标识符


private:
    Ui::Widget *ui;
};

#endif // WIDGET_H
